POV-Ray : Newsgroups : povray.binaries.images : Worst Greeble Formula...Ever! Server Time
18 Nov 2024 19:26:36 EST (-0500)
  Worst Greeble Formula...Ever! (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: Hosiah
Subject: Worst Greeble Formula...Ever!
Date: 15 Jun 2006 07:00:01
Message: <web.44913cdf75c99535a8c263d50@news.povray.org>
....which I say, because all I do with POVray is render the heightfield.
*generating* the heightfield I do in Gimp:

(1) run your favorite noise filter. Think star/speckle patterns.
(2) pixelate it, then edge-detect it with LaPlace. Repeat as desired.
(3) run a low Gaussian blur about 2.0 on it. You want some of the lines to
blend, but not all of them. you should now have various blocks and
maze-shapes.
(4) With the paint bucket at various gray shades, you can either click
randomly around or zoom in and try to make it look like something.
(5) Save it as a PNG, go in POVray, use the PNG as a height-field. Here I
textured it with metal finish.

It's nothing, really, but I've noticed the greeble fad in here, so I thought
I'd share my concept. With this effect, I wanted acres of cold metal
machinery stretching out in a Borg-like complexity without ever repeating.
But I can also map it as a normal in a texture itself.


Post a reply to this message


Attachments:
Download 'complexity.jpg' (215 KB)

Preview of image 'complexity.jpg'
complexity.jpg


 

From: How Camp
Subject: Re: Worst Greeble Formula...Ever!
Date: 15 Jun 2006 09:12:02
Message: <44915ca2$1@news.povray.org>
"Hosiah" <lev### [at] linuxquestionsnet> wrote in message 
news:web.44913cdf75c99535a8c263d50@news.povray.org...
> ....which I say, because all I do with POVray is render the heightfield.
> *generating* the heightfield I do in Gimp:
>


Wow, I seem to be horrific at duplicating what you've done.  Would you mind 
posting the GIMP output for comparison?  I think I've got the "various 
blocks and maze shapes", but the paint bucket step just 'fills in' some of 
those blocks, and when I finally produce my heightfield, it looks more like 
Gilles Tran's 'Pipes' macro than what you've got.  What am I missing?

Thanks for the technique, though.

- How


Post a reply to this message

From: Gail Shaw
Subject: Re: Worst Greeble Formula...Ever!
Date: 15 Jun 2006 12:16:52
Message: <449187f4@news.povray.org>
"Hosiah" <lev### [at] linuxquestionsnet> wrote in message
news:web.44913cdf75c99535a8c263d50@news.povray.org...
> ....which I say, because all I do with POVray is render the heightfield.
> *generating* the heightfield I do in Gimp:
>

Looks like it could make a very nice city skyline with a bit of modification


Post a reply to this message

From: Charles C
Subject: Re: Worst Greeble Formula...Ever!
Date: 15 Jun 2006 13:25:01
Message: <web.449197b2cc5c4d293869c6770@news.povray.org>
I'm thinking this technique'd be a good way for a very close look at an IC.
Put in an array of NAND gates and make some flash memory...


"Gail Shaw" <initialsurname@sentech sa dot com> wrote:
> "Hosiah" <lev### [at] linuxquestionsnet> wrote in message
> news:web.44913cdf75c99535a8c263d50@news.povray.org...
> > ....which I say, because all I do with POVray is render the heightfield.
> > *generating* the heightfield I do in Gimp:
> >
>
> Looks like it could make a very nice city skyline with a bit of modification


Post a reply to this message

From: Bill Hails
Subject: Re: Worst Greeble Formula...Ever!
Date: 15 Jun 2006 18:00:37
Message: <4491d885@news.povray.org>
I think it looks great, but I'm likewise having difficulty recreating it.

I'm guessing the thin "walls" are little more than a pixel wide in your
hf image.

I wonder if it's possible to write a script-fu to automate the gimp step.

-- 
Bill Hails
http://billhails.net/


Post a reply to this message

From: Hosiah
Subject: Re: Worst Greeble Formula...Ever!
Date: 15 Jun 2006 20:50:01
Message: <web.4491ff35cc5c4d29a8c263d50@news.povray.org>
>> "Looks like it could make a very nice city skyline with a bit of modification"

Yep, I've been doing those, too. Here's another one with some fancier
texturing. In this case, I used the same png as the height-field, but
colored it and used it for the texture map over the HF and added a metallic
finish.

By the way, the "highway" with the "streetlights" in the upper right corner
was a complete accident!

>> "I'm guessing the thin "walls" are little more than a pixel wide in your
hf image."

Yup! I make the HF 1024x768, and scale it large in POVray.

>> "I'm likewise having difficulty recreating it"

Help is on the way! Just for a sanity check, I'll sit down in Gimp and do
another one, carefully noting the steps along the way.


Post a reply to this message


Attachments:
Download 'steely_town.jpg' (187 KB)

Preview of image 'steely_town.jpg'
steely_town.jpg


 

From: Hosiah
Subject: Re: Worst Greeble Formula...Ever!
Date: 15 Jun 2006 22:10:01
Message: <web.449211d2cc5c4d29a8c263d50@news.povray.org>
My apologies for blowing it before; I couldn't believe anybody
else would want to do it this way!

Gimp Greeble Formula:

Start with a 1024x768 blank canvas, white background.
Run Filters>Noise>ScatterHSV with Holdness 2, Hue 3, Saturation 10, Value
26.
Now do Image>Mode>Grayscale. ScatterHSV isn't available in grayscale, so you
have to do this step in this order.
Run Filters>Blur>Pixelize with Height 20, Width20.
Pick Filters>Edge-Detect>Edge. In the edge dialog, select LaPlace,
amount can be 2.0,
and I check 'Black" radio button. You'll still see almost nothing here!
Hit "ctrl-F" a bunch of times to repeat the Edge-Detect. I keep going until
the entire field is filled with black-and-white lines.
You should now see a mosaic/maze effect.

And then click around with the paint bucket *before* running the blur!
Use "fill similar colors" with an extremely high threashold (85.0)
on the bucket.
You can keep the bucket black, click around, change the paint color to a
few clicks higher
on the greyscale, and keep going. At 1-1 zoom, your paint bucket will hit
a lot of "dead spots",
but just keep going. Hit Ctrl-Z if your bucket wipes out a lot of
detail you wanted to save.
This part is much easier if you zoom in, but it *is* laborous doing
the whole thing this way.
In fact, I wouldn't recommend this to someone suffering carpal tunnel
syndrone! Feel free to switch hands.

Murmer to yourself "Hosiah's *nuts* for doing it this way!
I'm going to find him a shortcut when I'm done with this!"

Ok, now you can Gaussian Blur using only a value of 2.0, and then
fill in some *more* squares and paths. It's a matter of experimenting, here.
Picking different shades of grey makes all the areas stick up at
different heights. But using a slight blur on your final image will
make the HF render in POVray with smoother corners.
Also, remember to set the bucket's threshold *lower* (to, say, 40.0)
before clicking in the image after doing a blur.

Example Heightfield:


Post a reply to this message


Attachments:
Download 'greeble2.png' (84 KB)

Preview of image 'greeble2.png'
greeble2.png


 

From: Jim Henderson
Subject: Re: Worst Greeble Formula...Ever!
Date: 16 Jun 2006 02:28:54
Message: <pan.2006.06.16.06.27.28.589757@nospam.com>
Nice!  I really like the textures you've used here...

Jim


Post a reply to this message

From: How Camp
Subject: Re: Worst Greeble Formula...Ever!
Date: 16 Jun 2006 14:42:56
Message: <4492fbb0@news.povray.org>
"Hosiah" <lev### [at] linuxquestionsnet> wrote in message 
news:web.449211d2cc5c4d29a8c263d50@news.povray.org...
> My apologies for blowing it before; I couldn't believe anybody
> else would want to do it this way!


Thanks for making the effort, Hosiah.  This is really helpful!

- How


Post a reply to this message

From: Tail Kinker
Subject: Re: Worst Greeble Formula...Ever!
Date: 17 Jun 2006 00:05:01
Message: <pan.2006.06.17.04.07.44.427827@yahoo.co.uk>
On Thu, 15 Jun 2006 22:05:06 -0400, Hosiah wrote:

> My apologies for blowing it before; I couldn't believe anybody
> else would want to do it this way!
> 
> Gimp Greeble Formula:
> 
> Start with a 1024x768 blank canvas, white background.

I started with a 512x512, white background.  But here I cheat, and add
another layer, above the white, with an alpha channel, completely empty.
I also use Grayscale mode to begin (c.f.)

> Run Filters>Noise>ScatterHSV with Holdness 2,
 Hue 3, Saturation 10,
> Value 26.

I just did Filters > Noise > Hurl.  Did this on the upper, transparent,
layer.

> Now do Image>Mode>Grayscale. ScatterHSV isn't available in grayscale, so
> you have to do this step in this order. 

Hurl will work in Grayscale, so I'm OK.  :)

> Run Filters>Blur>Pixelize with
> Height 20, Width20. Pick Filters>Edge-Detect>Edge. In the edge dialog,
> select LaPlace, amount can be 2.0,
> and I check 'Black" radio button. You'll still see almost nothing here!
> Hit "ctrl-F" a bunch of times to repeat the Edge-Detect. I keep going
> until the entire field is filled with black-and-white lines. You should
> now see a mosaic/maze effect.

I ran Pixelize at 16, then used Filters > Edge-Detect > Laplace.
 
> And then click around with the paint bucket *before* running the blur!
> Use "fill similar colors" with an extremely high threashold (85.0) on
> the bucket.
> You can keep the bucket black, click around, change the paint color to a
> few clicks higher
> on the greyscale, and keep going. At 1-1 zoom, your paint bucket will
> hit a lot of "dead spots",
> but just keep going. Hit Ctrl-Z if your bucket wipes out a lot of detail
> you wanted to save.
> This part is much easier if you zoom in, but it *is* laborous doing the
> whole thing this way.
> In fact, I wouldn't recommend this to someone suffering carpal tunnel
> syndrone! Feel free to switch hands.
> 
> Murmer to yourself "Hosiah's *nuts* for doing it this way! I'm going to
> find him a shortcut when I'm done with this!"

I did.  :)  Remember the lower layer?  I ran Filters > Render > Cloud
Patterns > Solid Noise, then pixelated it at 16.  Poof.

> Ok, now you can Gaussian Blur using only a value of 2.0, and then fill
> in some *more* squares and paths. It's a matter of experimenting, here.
> Picking different shades of grey makes all the areas stick up at
> different heights. But using a slight blur on your final image will make
> the HF render in POVray with smoother corners. Also, remember to set the
> bucket's threshold *lower* (to, say, 40.0) before clicking in the image
> after doing a blur.

Did this, but I first had to merge visible layers.  (Ctrl-M, or Image >
Merge Visible Layers.)

OK, so here's my sample heightfield:


Post a reply to this message


Attachments:
Download 'hf.jpg' (95 KB) Download 'greeble.jpg' (194 KB)

Preview of image 'hf.jpg'
hf.jpg

Preview of image 'greeble.jpg'
greeble.jpg


 

Goto Latest 10 Messages Next 1 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.